import { StyleSheet, View } from 'react-native'
import { Link, Stack } from 'expo-router'

export default function NotFound() {
  return (
    <>
      <Stack.Screen options={{ title: 'Not Found' }}></Stack.Screen>
      <View style={styles.container}>
        <Link href='/tabs/about' style={styles.link}>
          去首页
        </Link>
      </View>
    </>
  )
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#25292e',
  },
  text: {
    color: 'white',
  },
  link: {
    fontSize: 16,
    textDecorationLine: 'underline',
    color: 'white',
  },
})
